-- GENERATED SPELL FOR [Sprite Dragon] --


function spell0_5276(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(17630,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5276', 541, 1)
end

function Sorts_5276(pUnit, Event)
local choix_sorts_5276 = math.random(0, 0)
if choix_sorts_5276 == 0 then
pUnit:RegisterEvent('spell0_5276', 1, 1)
end
end

function mob5276_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5276', math.random(1500, 3000), 1)
end

function mob5276_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5276_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5276_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5276, 1, 'mob5276_Action')
RegisterUnitEvent(5276, 2, 'mob5276_Leave')
RegisterUnitEvent(5276, 3, 'mob5276_Kill')
RegisterUnitEvent(5276, 4, 'mob5276_Die')
